package com.system.common.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.system.common.pojo.BisCouponRecord;
import com.system.common.pojo.BisCouponRecordExample;

public interface BisCouponRecordMapper {
    int countByExample(BisCouponRecordExample example);

    int deleteByExample(BisCouponRecordExample example);

    int deleteByPrimaryKey(String recordId);

    int insert(BisCouponRecord record);

    int insertSelective(BisCouponRecord record);

    List<BisCouponRecord> selectByExample(BisCouponRecordExample example);

    BisCouponRecord selectByPrimaryKey(String recordId);

    int updateByExampleSelective(@Param("record") BisCouponRecord record, @Param("example") BisCouponRecordExample example);

    int updateByExample(@Param("record") BisCouponRecord record, @Param("example") BisCouponRecordExample example);

    int updateByPrimaryKeySelective(BisCouponRecord record);

    int updateByPrimaryKey(BisCouponRecord record);
    
    List<BisCouponRecord> queryByActiveId(Map<String, Object> map);
    
    int editByRecord(BisCouponRecord record);
}